#!/bin/bash

cd ../ryuapp/

export PYTHONPATH='/home/yutao/Work/PyCharm/continuous-sdn'


PREFIX="hedera-part-160"

DIRNAME='../eval/result/hedera'

# python mocktest.py 0.00001 > $DIRNAME/nohedera.txt &
# pid0=$!
python mocktest.py 0.2 > $DIRNAME/$PREFIX-0.2.txt &
pid1=$!
python mocktest.py 0.4 > $DIRNAME/$PREFIX-0.4.txt &
pid2=$!
python mocktest.py 0.6 > $DIRNAME/$PREFIX-0.6.txt &
pid3=$!
python mocktest.py 0.8 > $DIRNAME/$PREFIX-0.8.txt &
pid4=$!
python mocktest.py 1.0 > $DIRNAME/$PREFIX-1.0.txt &
pid5=$!
python mocktest.py 1.2 > $DIRNAME/$PREFIX-1.2.txt &
pid6=$!
python mocktest.py 1.4 > $DIRNAME/$PREFIX-1.4.txt &
pid7=$!
python mocktest.py 1.6 > $DIRNAME/$PREFIX-1.6.txt &
pid8=$!
python mocktest.py 1.8 > $DIRNAME/$PREFIX-1.8.txt &
pid9=$!
python mocktest.py 2.0 > $DIRNAME/$PREFIX-2.0.txt &
pid10=$!

# wait $pid0
wait $pid1
wait $pid2
wait $pid3
wait $pid4
wait $pid5
wait $pid6
wait $pid7
wait $pid8
wait $pid9
wait $pid10